package com.maket.scxx.service.impl;

import com.maket.scxx.domain.CpProduct;
import com.maket.scxx.domain.JybzInspectionStandardsAndCpProduct;
import com.maket.scxx.mapper.JybzInspectionStandardsAndCpProductMapper;
import com.maket.scxx.service.JybzInspectionStandardsAndCpProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@SuppressWarnings("all")
@Service
public class JybzInspectionStandardsAndCpProductServiceImpl implements JybzInspectionStandardsAndCpProductService {

    @Autowired
    private JybzInspectionStandardsAndCpProductMapper jybzInspectionStandardsAndCpProductMapper;
    @Override
    public int insertCp(JybzInspectionStandardsAndCpProduct jybzInspectionStandardsAndCpProduct) {
        return jybzInspectionStandardsAndCpProductMapper.insertCp(jybzInspectionStandardsAndCpProduct);
    }

    @Override
    public List<JybzInspectionStandardsAndCpProduct> selectWithBzCode(String bzCode) {
        return jybzInspectionStandardsAndCpProductMapper.selectWithBzCode(bzCode);
    }

    @Override
    public int deleteByBzCode(String bzCode) {
        return jybzInspectionStandardsAndCpProductMapper.deleteByBzCode(bzCode);
    }
}
